﻿using HOPU.OnlineSchool.Application.Courses.Dtos;
using HOPU.OnlineSchool.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HOPU.OnlineSchool.Application.Courses.Services
{
    public interface ICourseService
    {
        Task<PagedList<EduCourse>> GetListSync(int page, int limit, CouseSearchDto input);
        Task<string> AddSync(EduCourse model);

        Task<List<SelectDto>> GetSubjectSelect(string parentId);

        Task<List<SelectDto>> GetTeacherSelect();

        Task<EduCourse> GetCourseAsync(string id);

        Task UpdateAsync(string id, EduCourse dto);

        Task<String> DeleteSync(String id);
    }
}
